home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AppleScript - The Beta Release
/
AppleScript - The Beta Release.iso
/
Example Scripts
/
Example Scripts (as text)
/
Finder Scripts
/
Find Original
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
1992-12-02
|
299 b
|
14 lines
|
[
TEXT/ToyS
]
tell application "Finder"
repeat with Q in the selection
if the kind of Q is "alias" then
Reveal the original item of Q
exit
end if
end repeat
end tell
on error n
display dialog ¬
"Could not find the original of the alias file.\r(" & n & ")" buttons "Sorry" ¬
with icon 0
end error